﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ScreenForm.ascx.cs"
    Inherits="SalesManagement.Controls.List.ScreenForm" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<script>


</script>

<ext:Window ID="winDetails" runat="server" Title="Employee Details" Icon="Group"
    Width="600" Height="400" Modal="true" Hidden="true" Layout="FormLayout" Padding="5">
    <Items>
        <ext:FormPanel ID="FormPanel1" runat="server" BodyBorder="false"
            MonitorPoll="500" MonitorValid="true" Padding="5" Width="600" Height="250" ButtonAlign="Right">
            <Items>
                <ext:TextField ID="txtID" runat="server" FieldLabel="ID" AllowBlank="false"
                    AnchorHorizontal="80%" />
                <ext:TextField ID="txtScreenName" runat="server" FieldLabel="Screen Name" AllowBlank="false"
                    AnchorHorizontal="80%" />
                <ext:TextField ID="txtIcon" runat="server" FieldLabel="Icon" AllowBlank="false"
                    AnchorHorizontal="80%" />
                <ext:TextField ID="txtUrl" runat="server" FieldLabel="Url" AllowBlank="false"
                    AnchorHorizontal="80%" />
                <ext:TextField ID="txtNote" runat="server" FieldLabel="Note" AllowBlank="false"
                    AnchorHorizontal="80%" />
                <ext:TextField ID="txtParent" runat="server" FieldLabel="Parent" AllowBlank="false"
                    AnchorHorizontal="80%" />
               </Items>
        </ext:FormPanel>
    </Items>
    <Buttons>
        
        <ext:Button ID="btnSave" runat="server" Text="Save" Icon="Disk">
            <DirectEvents>
            <Click OnEvent="btnSave_Click" />
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCancel" runat="server" Text="Cancel" Icon="Cancel">
            <Listeners>
                <Click Handler="#{winDetails}.hide();" />
            </Listeners>
        </ext:Button>
        
    </Buttons>
</ext:Window>
